.loader {
    position: relative;
    width: 50px;
    height: 50px;
    margin: 10px
}

.loader-container {
    display: inline-block;
    height: 150px;
    width: 200px
}

.three {
    height: 100px;
    width: 100px;
    border-radius: 50%;
    border: solid transparent 10px;
    border-top: solid #f1f0f0 10px;
    border-left: solid #f1f0f0 10px;
    animation: loader3Animation 2s linear infinite;
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px
}

.three:before {
    position: absolute;
    top: 20px;
    left: 20px;
    content: "";
    width: 40px;
    height: 40px;
    border: solid transparent 10px;
    border-top: solid #f1f0f0 10px;
    border-left: solid #f1f0f0 10px;
    border-radius: 50%;
    animation: loader3AnimationBefore 1.5s linear infinite
}

.three:after {
    position: absolute;
    top: 5px;
    left: 5px;
    content: "";
    width: 70px;
    height: 70px;
    border: solid transparent 10px;
    border-top: solid #f1f0f0 10px;
    border-left: solid #f1f0f0 10px;
    border-radius: 50%;
    animation: loader3AnimationAfter 1.5s linear infinite
}

@keyframes loader3Animation {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

@keyframes loader3AnimationBefore {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

@keyframes loader3AnimationAfter {
    0% {
        transform: rotate(360deg)
    }

    100% {
        transform: rotate(-360deg)
    }
}
